﻿// <copyright file="ParseException.cs" company="Signal Processing Lab, Wuhan University">
// Copyright (c) 2009-2010 All Right Reserved
// </copyright>
// <author>Xinping Deng</author>
// <email>dentoby@gmail.com</email>
// <date>2010-4</date>
// <summary>This is part of Image.NET project.</summary>

namespace SPLWHU.Core
{
    using System;

    /// <summary>
    /// The parse exception.
    /// </summary>
    public class ParseException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ParseException"/> class.
        /// </summary>
        /// <param name="msg">The error message.</param>
        public ParseException(string msg)
            : base(msg)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ParseException"/> class.
        /// </summary>
        /// <param name="fmt">The string format.</param>
        /// <param name="args">The arguments.</param>
        public ParseException(string fmt, params object[] args)
            : base(string.Format(fmt, args))
        {
        }
    }
}
